#{extends 'main.html' /}
#{set title:'tagHomePage' /}

#{homeTitle titleName:'Creating New Tag'/}

<form action="@{Ttags.newTag()}" method="GET">

	#{if flash.error}
	<p style="color:#c00">
		${flash.error}
	</p>
	#{/if}

	<input type="hidden" name="testingUserId" />
	<br />
	<br />
	Tag Name
	<input type="text" name="tagName" />

	<br />
	<br />

	Status:
	<select  name="tagStatus">
		<option value="new">new</option>
		<option value="pending">pending</option>
		<option value="others">others</option>
	</select>
	<br />
	<br />

	<br />
	<br />

	<input type="submit" value="Submit" name = "Submit" />
	<br />
	<br />
	<br />

	<a href="@{Application.index()}">Home Page</a>
	<a href="@{Ttags.tagHome()}">Back to tags </a>
</form>